@mixin textBase($align: left, $mode: 'tb', $break: 'word', $spacing: 0, $indent: 0) {
	letter-spacing: $spacing;
	text-indent: $indent;
	text-align: $align;
	@if $mode == 'lr' {
		writing-mode: vertical-lr;
	} @else if $mode == 'rl' {
		writing-mode: vertical-rl;
	} @else {
		writing-mode: horizontal-tb;
	}
	@if $break == 'all' {
		word-break: break-all;
	} @else if $break == 'keep' {
		word-break: keep-all;
	} @else {
		word-break: break-word;
	}
}

@mixin textShadow($color, $size: 1px) {
	text-shadow: 
		$color $size 0 $size,
		$color 0 $size $size,
		$color 0 0 - $size $size,
		$color 0 - $size 0 $size;
}

@mixin textClamp($clamp: 2) {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: $clamp;
	overflow: hidden;
	text-overflow: ellipsis;
}

@mixin textOverHidden {
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}